package com.vcms.view.simulation.uicomponent.listener;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import com.vcms.controller.customer.TransactionController;

public class TerminateButtonListener implements ActionListener{
	
	private  TransactionController transactionController;
	
	public TerminateButtonListener(TransactionController transactionController) {
		this.transactionController = transactionController;
	}
	
	public void actionPerformed(ActionEvent e) {
		transactionController.cancelTransaction();	
	}

}
